
package com.walle.common.result;

/**
 * <ul>
 * <li>Title: 操作枚举</li>
 * <li>Description:</li>
 * <li>Copyright: /li>
 * <li>Company:</li>
 * </ul>
 */
public enum ResultStatusEnum {

    SUCCESS(1, "成功"),
    ERROR(-1, "失败");

    private int code;
    private String message;

    ResultStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
